package com.yantong.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 业绩流水
 *
 * @author kanghaixin
 */
public class AchieveFlow {
    /**
     * 主键
     */
    private Long id;
    /**
     * 门店ID
     */
    private Long mid;
    /**
     * 上级门店ID
     */
    private Long pmid;
    /**
     * 业绩日期
     */
    private Date achieveDate;
    /**
     * 个人业绩金额
     */
    private BigDecimal personalAmount;
    /**
     * 个人业绩  订单数
     */
    private Integer personalOrder = 0;
    /**
     * 团队总订单数
     */
    private Integer orderTotal = 0;
    /**
     * 团队金额合计
     */
    private BigDecimal amountTotal;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 商户ID
     */
    private Long centreId;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 真实姓名
     */
    private String realname;

    public Long getPmid() {
        return pmid;
    }

    public void setPmid(Long pmid) {
        this.pmid = pmid;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    public Date getAchieveDate() {
        return achieveDate;
    }

    public void setAchieveDate(Date achieveDate) {
        this.achieveDate = achieveDate;
    }

    public BigDecimal getPersonalAmount() {
        return personalAmount;
    }

    public void setPersonalAmount(BigDecimal personalAmount) {
        this.personalAmount = personalAmount;
    }

    public Integer getPersonalOrder() {
        return personalOrder;
    }

    public void setPersonalOrder(Integer personalOrder) {
        this.personalOrder = personalOrder;
    }

    public Integer getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(Integer orderTotal) {
        this.orderTotal = orderTotal;
    }

    public BigDecimal getAmountTotal() {
        return amountTotal;
    }

    public void setAmountTotal(BigDecimal amountTotal) {
        this.amountTotal = amountTotal;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getCentreId() {
        return centreId;
    }

    public void setCentreId(Long centreId) {
        this.centreId = centreId;
    }
}